package com.work.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: YanL
 * @createTime: 2022-12-30  11:23
 * @version: 1.0.0
 * @description: 个人信息(用于测试Mybatis批量插入性能)
 */
@Data
@TableName(value = "person")
public class Person implements Serializable {

  /**
   * id
   */
  @TableField(value = "id")
  private Integer id;

  /**
   * 姓名
   */
  @TableField(value = "name")
  private String name;

  /**
   * 性别
   */
  @TableField(value = "sex")
  private String sex;

  /**
   * 年龄
   */
  @TableField(value = "age")
  private Integer age;

  /**
   * 邮箱
   */
  @TableField(value = "email")
  private String email;

  /**
   * 电话
   */
  @TableField(value = "tel")
  private String tel;

  /**
   * 地址
   */
  @TableField(value = "address")
  private String address;

}
